<html>
<head><meta charset="utf-8"><title>x.py workflow · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html">x.py workflow</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="162456141"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162456141" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162456141">(Apr 03 2019 at 18:39)</a>:</h4>
<p>Why is it that running <code>./x.py check</code> seems to blow away any existing build I had for tests?</p>



<a name="162456152"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162456152" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162456152">(Apr 03 2019 at 18:39)</a>:</h4>
<p>When I re-run tests after a check, it has to start from scratch</p>



<a name="162456214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162456214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162456214">(Apr 03 2019 at 18:40)</a>:</h4>
<p>Maybe I'm confused about the cause here, though</p>



<a name="162456412"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162456412" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> QuietMisdreavus <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162456412">(Apr 03 2019 at 18:42)</a>:</h4>
<p><code>x.py check</code> always uses incremental, so it always creates incremental artifacts</p>



<a name="162456442"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162456442" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> QuietMisdreavus <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162456442">(Apr 03 2019 at 18:42)</a>:</h4>
<p>if you weren't using incremental before, this is the same as completely invalidating any artifacts you had before</p>



<a name="162456545"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162456545" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162456545">(Apr 03 2019 at 18:43)</a>:</h4>
<p>I am using incremental, though..</p>



<a name="162463558"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162463558" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162463558">(Apr 03 2019 at 19:59)</a>:</h4>
<p>I always pass in <code>-i</code> just to be sure</p>



<a name="162469512"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162469512" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162469512">(Apr 03 2019 at 21:03)</a>:</h4>
<p>that's what I'm doing :)</p>



<a name="162469590"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162469590" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162469590">(Apr 03 2019 at 21:04)</a>:</h4>
<p>well now that I know it's just me, I can try to figure out what else I'm doing</p>



<a name="162477228"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162477228" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> varkor <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162477228">(Apr 03 2019 at 22:52)</a>:</h4>
<p><code>x.py check</code> and <code>x.py build</code> do not play nicely with each other</p>



<a name="162477286"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162477286" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> varkor <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162477286">(Apr 03 2019 at 22:54)</a>:</h4>
<p><a href="https://github.com/rust-lang/cargo/issues/3501" target="_blank" title="https://github.com/rust-lang/cargo/issues/3501">https://github.com/rust-lang/cargo/issues/3501</a></p>



<a name="162477344"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/162477344" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> varkor <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#162477344">(Apr 03 2019 at 22:54)</a>:</h4>
<p>it seems plausible this might be causing the problem?</p>



<a name="163133096"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/163133096" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> ange <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#163133096">(Apr 11 2019 at 20:12)</a>:</h4>
<blockquote>
<p><code>x.py check</code> and <code>x.py build</code> do not play nicely with each other</p>
</blockquote>
<p>Does <code>x.py test -i</code>play well with <code>x.py build -i</code>? I have a compiler and want to run a single testcase under compiletest, but if it's going to blow everything away I'll limit myself to gedankentesting for now ;-)</p>



<a name="163138496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/x.py%20workflow/near/163138496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> ange <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/x.2Epy.20workflow.html#163138496">(Apr 11 2019 at 21:24)</a>:</h4>
<p>Well, for posterity, <code>./x.py test -i  --stage 1 src/test/ui --test-args foo</code> <em>does not</em> rebuild the compiler <span aria-label="tada" class="emoji emoji-1f389" role="img" title="tada">:tada:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>